#include <stdio.h>
#include "loopdbl.h"
int main(int argc, const char * argv[])
{
    loopdbl* head =  create();
    loopinserthead(head,50);
    loopinserthead(head,40);
    loopinserthead(head,30);
    loopinserthead(head,20);
    loopinserthead(head,10);
    loopdblshow(head);

    loopinserttail(head,60);
    loopinserttail(head,70);
    loopinserttail(head,80);
    loopinserttail(head,90);
    loopinserttail(head,100);
    loopdblshow(head);

    insertbypos(head,2,4);
    loopdblshow(head);
    return 0;
}